<?php
    $data = array(
        'emulatePrepare' => true,
        'charset' => 'utf8',
        'schemaCachingDuration'=>3600, // number of seconds
        'enableProfiling'    =>    true,
        'enableParamLogging'=>    true,
    );

    if(IS_LOCAL){
        $data['connectionString'] = 'mysql:host=localhost;dbname=giatlavui'; 
        $data['username'] = 'root';    
        $data['password'] = '';  
    }else{
        $data['connectionString'] = "mysql:host=localhost;dbname=giatlavui";
        $data['username'] = 'giatlavui';    
        $data['password'] = 'giatlavui';     
    } 

    return $data;
